scripty2

mixin S2.UI.Mixin.Configurable

Description

A mixin for hassle-free blending of default options with user-defined options.

Expects default options to be defined in a DEFAULT_OPTIONS property on the class itself.

Methods

Instance methods

  • setOptions #

    S2.UI.Mixin.Configurable#setOptions(options) -> Object
    • options (Object) – A set of user-defined options that should override the defaults.

    Sets options on the class.